package com.dc.business.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "监控点模块Model")
public class Point implements Serializable {

   @ApiModelProperty(value = "通讯地址：1-255或者ip地址")
   private String addr;

   @ApiModelProperty(value = "通讯端口1-16")
   private int comNo;

   @ApiModelProperty(value = "创建时间")
   private Date createTime;

   @ApiModelProperty(value = "创建人id")
   private int createUserId;

   @ApiModelProperty(value = "创建人姓名")
   private String createUserName;

   @ApiModelProperty(value = "0删除1存在")
   private int isDeleted;

   @ApiModelProperty(value = "监控点状态和警告信息")
   private String lastInfo;

   @ApiModelProperty(value = "责任人")
   private String liable;

   @ApiModelProperty(value = "监控点id")
   private int pointId;

   @ApiModelProperty(value = "监控点名称")
   private String pointName;

   @ApiModelProperty(value = "监控点类型（0默认监控点类型）")
   private int pointType;

   @ApiModelProperty(value = "坐标位置，用于电子地图定位")
   private String position;

   @ApiModelProperty(value = "备注")
   private String remark;

   @ApiModelProperty(value = "修改时间")
   private Date updateTime;

   @ApiModelProperty(value = "修改人id")
   private int updateUserId;

   @ApiModelProperty(value = "修改人姓名")
   private String updateUserName;

   @ApiModelProperty(value = "版本号")
   private int version;

}
